<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ include file="/WEB-INF/jsp/sys/css.jsp"%>
<%@ include file="/WEB-INF/jsp/sys/uploader.jsp" %>
<%@page import="com.centit.util.RequestUtil" %>

<html lang="zh-cmn-Hans">
<head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/modules/util/static/ztree/css/metroStyle/metroStyle.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/modules/util/static/plugin/css/index.css">
    <script type="text/javascript" src="${pageContext.request.contextPath}/modules/util/static/ztree/js/jquery.ztree.all.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/modules/util/static/plugin/js/selectTree.js"></script>
    <script type="text/javascript"	src="${pageContext.request.contextPath}/modules/airplanebaseinfo/airplanebaseinfo/all/airplanebaseinfo-allinfo.js"></script>
    <style>
        .stream-main-upload-box {
            border: none;
        }

        .centit-uploader .uploaded-files li {
            padding: 10px 20px 10px 10px;
        }

        .stream-browse-files{
            display: none;
        }
        .centit-uploader .uploaded-files .uploaded-delete{
            display: none;
        }
        /*.centit-uploader .uploaded-files .uploaded-file{
            pointer-events:none;
        }*/

    </style>
</head>
<body style="height: 100%;">
<form class="layui-form" id="airplanForm" action="" style="padding: 10px"
      lay-filter="azdbqryForm">
    <input type="hidden" name="recId" id="recId" value="${object.recId}">
    <input type="hidden" name="nextUser" id="nextUser" value="">
    <input type="hidden" name="status" id="status" value="">


    <%--机务人员维护字段(综合页面以机务人员维护页面为主，追加其他页面字段)--%>
    <%--<table class="viewTable" >
        &lt;%&ndash;登记页面&ndash;%&gt;
        <tr>
            <th class="required">关联计划</th>
            <td >
                <select id="gljh" name="gljh" lay-verify="required" lay-search="">
                    <option value="">--直接选择或搜索选择--</option>
                </select>
                <input type="hidden" id="gljhid" value="${object.gljh}"/>
            </td>

            <th class="required">登记时间</th>
            <td>
                <input type="text" name="djsj" id="djsj" class="layui-input" lay-verify="required" value="${object.djsj}" readonly="readonly">
            </td>
        </tr>

        <tr>
            <th >飞机状态</th>
            <td>
                <select name="airZt" class="layui-input" lay-filter="airZt" id="airZt"   value="${object.airZt}" >
                    <option value="">--请选择--</option>
                    <c:forEach items="${cp:DICTIONARY('AIRZT')}" var="row">
                        <option value="${row.dataCode }" <c:if test="${object.airZt eq row.dataCode }">selected="selected"</c:if> >${row.dataValue }</option>
                    </c:forEach>
                </select>
            </td>
            <th class="required">性质</th>
            <td>
                <select name="nature" class="layui-input" lay-filter="nature" id="nature" lay-verify="required"  value="${object.nature}">
                    <option value="">--请选择--</option>
                    <c:forEach items="${cp:DICTIONARY('AIRXZ')}" var="row">
                        <option value="${row.dataCode }" <c:if test="${object.nature eq row.dataCode }">selected="selected"</c:if> >${row.dataValue }</option>
                    </c:forEach>
                </select>
            </td>
        </tr>
        <tr>
            <th class="required">注册号</th>
            <td>
                <input type="text" name="sign" id="sign" class="layui-input" lay-verify="required|nlength"  value="${object.sign}">
            </td>

            <th >航空器型号</th>
            <td>
                <input type="text" name="airModel" id="airModel" class="layui-input"  value="${object.airModel}">
            </td>

        </tr>
        <tr>
            &lt;%&ndash; <th >登记时间</th>
            <td>
                <input type="text" name="djsj" id="djsj" class="layui-input"  value="${object.djsj}" readonly="readonly">
            </td> &ndash;%&gt;
            <th >MSN号</th>
            <td>
                <input type="text" name="ccxlh" id="ccxlh" class="layui-input"  value="${object.ccxlh}">
            </td>
            <th >出厂日期</th>
            <td>
                <input type="text" name="proctionDate" id="proctionDate" class="layui-input"  value="<fmt:formatDate value='${object.proctionDate}' pattern='yyyy-MM-dd'/>">
            </td>

        </tr>
        <tr>

            <th >进苏日期</th>
            <td>
                <input type="text" name="useDate" id="useDate" class="layui-input"  value="<fmt:formatDate value='${object.useDate}' pattern='yyyy-MM-dd'/>">
            </td>
            <th >注销日期</th>
            <td>
                <input type="text" name="offDate" id="offDate" class="layui-input"  value="<fmt:formatDate value='${object.offDate}' pattern='yyyy-MM-dd'/>">
            </td>
        </tr>

        <tr>
            <th class="required">Engine serie</th>
            <td>
                <input type="text" name="engineS" id="engineS" class="layui-input" lay-verify="required|nlength"  value="${object.engineS}">
            </td>
            <th class="required">发动机型号</th>
            <td>
                <input type="text" name="engine" id="engine" class="layui-input"  lay-verify="required|nlength"  value="${object.engine}">
            </td>
        </tr>
        <tr>
            <th>机龄</th>
            <td>
                <input type="text" name="jl" id="jl" class="layui-input"   value="${object.jl}">

            </td>
            <th >出租人</th>
            <td>
                <input type="text" name="czr" id="czr" class="layui-input"    value="${object.czr}">

            </td>
        </tr>
        <tr>
            <th >起租日</th>
            <td>
                <input type="text" name="startTime" id="startTime"  class="layui-input"  value="<fmt:formatDate value='${object.startTime}' pattern='yyyy-MM-dd'/>">
            </td>
            <th>退租日</th>
            <td>
                <input type="text" name="endTime" id="endTime"  class="layui-input"  value="<fmt:formatDate value='${object.endTime}' pattern='yyyy-MM-dd'/>">
            </td>
        </tr>
        <tr>
            <th >租期</th>
            <td colspan="3">
                <input type="text" name="zq" id="zq" class="layui-input"   value="${object.zq}">
            </td>

        </tr>
        <tr>
            <th class="required">是否可提前退租</th>
            <td>
                <input type="radio" name="isTqtz" value="1" title="是" <c:if test="${object.isTqtz=='1'}">checked=""</c:if>>
                <input type="radio" name="isTqtz" value="0" title="否" <c:if test="${object.isTqtz=='0'}">checked=""</c:if>>
            </td>
            <th class="required">是否到期无异议自动续租</th>
            <td>
                <input type="radio" name="isWyyzdxz" value="1" title="是"  <c:if test="${object.isTqtz=='1'}">checked=""</c:if>>
                <input type="radio" name="isWyyzdxz" value="0" title="否"  <c:if test="${object.isTqtz=='0'}">checked=""</c:if>>

            </td>
        </tr>
        <tr>
            <th >飞机原值</th>
            <td>
                <input type="text" name="fjyz" id="fjyz" class="layui-input"   value="${object.fjyz}">
            </td>
            <th >飞机残值</th>
            <td>
                <input type="text" name="fjcz" id="fjcz" class="layui-input"   value="${object.fjcz}">
            </td>
        </tr>

        <tr>
            <th >保险信息</th>
            <td>
                <input type="text" name="bxxx" id="bxxx" class="layui-input"   value="${object.bxxx}">
            </td>
            <th class="required">租金币种</th>
            <td>
                <select name="zjbz" class="layui-input" lay-filter="zjbz" id="zjbz" lay-verify="required"   value="${object.zjbz}" >
                    <option value="">--请选择--</option>
                    <c:forEach items="${cp:DICTIONARY('BZ')}" var="row">
                        <option value="${row.dataCode }" <c:if test="${object.zjbz eq row.dataCode }">selected="selected"</c:if> >${row.dataValue }</option>
                    </c:forEach>
                </select>
            </td>
        </tr>

        <tr>
            <th >租金</th>
            <td>
                <input type="text" name="mqzj" id="mqzj" class="layui-input"   value="${object.mqzj}">
            </td>
            <th >租金支付期间</th>
            <td>
                <select name="zjzfqj" class="layui-input" lay-filter="zjzfqj" id="zjzfqj"   value="${object.zjzfqj}" >
                    <option value="">--请选择--</option>
                    <c:forEach items="${cp:DICTIONARY('ZFQJ')}" var="row">
                        <option value="${row.dataCode }" <c:if test="${object.zjzfqj eq row.dataCode }">selected="selected"</c:if> >${row.dataValue }</option>
                    </c:forEach>
                </select>
                &lt;%&ndash; <input type="text" name="zjzfqj" id="zjzfqj" class="layui-input"   value="${object.zjzfqj}"> &ndash;%&gt;
            </td>
        </tr>

        <tr>
            <th>已有飞行小时N2</th>
            <td>
                <input type="text" name="yyfxxs" id="yyfxxs" class="layui-input"    value="${object.yyfxxs}">

            </td>
            <th>剩余飞行小时</th>
            <td>
                <input type="text" name="syfxxs" id="syfxxs" class="layui-input" readonly  value="${object.syfxxs}">

            </td>
        </tr>
        <tr>
            <th>利用率=B小时/天</th>
            <td>
                <input type="text" name="lyl" id="lyl" class="layui-input"   value="${object.lyl}">
            </td>
            <th>机身最近大修开始时间Q</th>
            <td>
                <input type="text" name="dxkssjQ" id="dxkssjQ"  class="layui-input"  value="<fmt:formatDate value='${object.dxkssjQ}' pattern='yyyy-MM-dd'/>">
            </td>
        </tr>
        <tr>
            <th>最近一次大修任务名称</th>
            <td >
                <input type="text" name="zjycdxrwmc" id="zjycdxrwmc" class="layui-input"    value="${object.zjycdxrwmc}">
            </td>
            <th>计划修任务名称</th>
            <td >
                <select name="jhxrwmc" class="layui-input" lay-filter="jhxrwmc" id="jhxrwmc" lay-verify="required"   value="${object.jhxrwmc}" >
                    <option value="">--请选择--</option>
                    <c:forEach items="${cp:DICTIONARY('JHXRWMC')}" var="row">
                        <option value="${row.dataCode }" <c:if test="${object.jhxrwmc eq row.dataCode }">selected="selected"</c:if> >${row.dataValue }</option>
                    </c:forEach>
                </select>
            </td>

        </tr>
        <tr>
            <th>机身预期下一次大修开始时间Q1</th>
            <td style="pointer-events: none">
                <input type="text" name="dxksslQ1" id="dxksslQ1" style="background: #f0f0f0;"  class="layui-input"  value="<fmt:formatDate value='${object.dxksslQ1}' pattern='yyyy-MM-dd'/>">
            </td>
            <th>机身预期再下一次大修开始时间Q2</th>
            <td style="pointer-events: none">
                <input type="text" name="dxkssjQ2" id="dxkssjQ2" style="background: #f0f0f0;" class="layui-input"  value="<fmt:formatDate value='${object.dxkssjQ2}' pattern='yyyy-MM-dd'/>">
            </td>
        </tr>
        <tr>
            <th >1st engine SN（出厂序号）</th>
            <td>
                <input type="text" name="oneSn" id="oneSn" class="layui-input"   value="${object.oneSn}">
            </td>
            <th >2nd engine SN（出厂序号）</th>
            <td>
                <input type="text" name="twoSn" id="twoSn" class="layui-input"  value="${object.twoSn}">
            </td>
        </tr>
        <tr>
            <th>退租时发动机序列号1</th>
            <td>
                <input type="text" name="tzsfdjxlh1" id="tzsfdjxlh1" class="layui-input"  value="${object.tzsfdjxlh1}">
            </td>
            <th>发动机1状态</th>
            <td>
                <input type="text" name="fdjzt1" id="fdjzt1" class="layui-input"  value="${object.fdjzt1}">
            </td>
        </tr>
        <tr>
            <th>退租时发动机序列号2</th>
            <td>
                <input type="text" name="tzsfdjxlh2" id="tzsfdjxlh2" class="layui-input"  value="${object.tzsfdjxlh2}">
            </td>
            <th>发动机2状态</th>
            <td>
                <input type="text" name="fdjzt2" id="fdjzt2" class="layui-input"  value="${object.fdjzt2}">
            </td>
        </tr>
        <tr>
            <th>退租日期前半年内计划大修</th>
            <td>
                <input type="text" name="tzrqqbnnjhdx" id="tzrqqbnnjhdx" class="layui-input"   value="${object.tzrqqbnnjhdx}">

            </td>
            <th>退租日期前半年内预期大修</th>
            <td>
                <input type="text" name="tzrqqbnnyqdx" id="tzrqqbnnyqdx" class="layui-input"  value="${object.tzrqqbnnyqdx}">

            </td>
        </tr>
        <tr>
            <th >国籍证发给</th>
            <td colspan="3">
                <input type="text" name="bzfj" id="bzfj" class="layui-input"   value="${object.bzfj}">
            </td>

        </tr>
        <tr>
            <th class="required">国籍登记证编号</th>
            <td>
                <input type="text" name="gjNo" id="gjNo" class="layui-input"  lay-verify="required|nlength"    value="${object.gjNo}">
            </td>
            <th >国籍登记证签发日期</th>
            <td>
                <input type="text" name="gjDate" id="gjDate" class="layui-input"  value="<fmt:formatDate value='${object.gjDate}' pattern='yyyy-MM-dd'/>">
            </td>


        </tr>

        <tr>
            <th class="required">所有人名称</th>
            <td>
                <input type="text" name="haveName" id="haveName" class="layui-input"  lay-verify="required|nlength"    value="${object.haveName}">
            </td>
            <th >所有人地址</th>
            <td>
                <input type="text" name="haveAddr" id="haveAddr" class="layui-input"   value="${object.haveAddr}">
            </td>
        </tr>
        <tr>
            <th >运营人</th>
            <td>
                <input type="text" name="yyName" id="yyName" class="layui-input"   value="${object.yyName}">
            </td>
            <th >运营人地址</th>
            <td>
                <input type="text" name="yyAddr" id="yyAddr" class="layui-input"   value="${object.yyAddr}">
            </td>
        </tr>

        <tr>
            <th class="required">标准适航证编号</th>
            <td>
                <input type="text" name="shNo" id="shNo" class="layui-input"  lay-verify="required|nlength"   value="${object.shNo}">
            </td>
            <th >标准适航证签发日期</th>
            <td>
                <input type="text" name="qfDate" id="qfDate" class="layui-input"  value="<fmt:formatDate value='${object.qfDate}' pattern='yyyy-MM-dd'/>">
            </td>
        </tr>

        <tr>
            <th >航空器地址编码（S模式）HEX</th>
            <td>
                <input type="text" name="addrNoHex" id="addrNoHex" class="layui-input"   value="${object.addrNoHex}">
            </td>
            <th >航空器地址编码（S模式）OCT</th>
            <td>
                <input type="text" name="addrNoOct" id="addrNoOct" class="layui-input"   value="${object.addrNoOct}">
            </td>
        </tr>
        <tr>
            <th class="required">选择呼叫代码</th>
            <td>
                <input type="text" name="hjNo" id="hjNo" class="layui-input"   lay-verify="required|nlength"   value="${object.hjNo}">
            </td>
            <th class="required">电台执照序号</th>
            <td>
                <input type="text" name="dtNo" id="dtNo" class="layui-input"   lay-verify="required|nlength"   value="${object.dtNo}">
            </td>
        </tr>
        <tr>

            <th >电台执照有效期限至</th>
            <td>
                <input type="text" name="dtyxDate" id="dtyxDate" class="layui-input"   value="<fmt:formatDate value='${object.dtyxDate}' pattern='yyyy-MM-dd'/>">
            </td>
            <th >电台执照颁发日期</th>
            <td>
                <input type="text" name="dtbfDate" id="dtbfDate" class="layui-input"  value="<fmt:formatDate value='${object.dtbfDate}' pattern='yyyy-MM-dd'/>">
            </td>
        </tr>

        &lt;%&ndash;额外字段---------------------------------------&ndash;%&gt;
        <tr style="height: 30px;border-bottom: 1px solid #CCC;">

        </tr>
        <tr>
            <th >注册号</th>
            <td colspan="3">
                <input type="text" name="zch" id="zch" class="layui-input"  value="${object.zch}">
            </td>
        </tr>
        <tr>
            <th >东航机队号/FSN</th>
            <td>
                <input type="text" name="fsn" id="fsn" class="layui-input"  value="${object.fsn}">
            </td>
            <th >APU型号</th>
            <td>
                <input type="text" name="apu" id="apu" class="layui-input"  value="${object.apu}">
            </td>


        </tr>
        <tr>

            <th class="required">航空器制造厂商</th>
            <td>
                <input type="text" name="airZzs" id="airZzs" class="layui-input" lay-verify="required|nlength"   value="${object.airZzs}">
            </td>
            <th class="required">最大起飞重量(吨)</th>
            <td>
                <input type="text" name="maxZl" id="maxZl" class="layui-input"   lay-verify="required|nlength"   value="${object.maxZl}">
            </td>

        </tr>

        <tr>
            <th >加入运归日期</th>
            <td>
                <input type="text" name="jrygrq" id="jrygrq" class="layui-input"  value="<fmt:formatDate value='${object.jrygrq}' pattern='yyyy-MM-dd'/>">
            </td>
            <th >退出运规日期</th>
            <td>
                <input type="text" name="tcygrq" id="tcygrq" class="layui-input"  value="<fmt:formatDate value='${object.tcygrq}' pattern='yyyy-MM-dd'/>">
            </td>
        </tr>



        <tr>
            <th >HUD</th>
            <td>
                <input type="text" name="hud" id="hud" class="layui-input"   value="${object.hud}">
            </td>
            <th >WIFI</th>
            <td>
                <input type="text" name="wifi" id="wifi" class="layui-input"  value="${object.wifi}">
            </td>
        </tr>



        <tr>
            <th >座位布局</th>
            <td colspan="3">
                <input type="text" name="zwbj" id="zwbj" class="layui-input"   value="${object.zwbj}">
            </td>

        </tr>

        &lt;%&ndash;财务维护页面&ndash;%&gt;
        <tr>
            <th class="required">占有权登记</th>
            <td>
                <input type="text" name="zyqdj" id="zyqdj" lay-verify="required" class="layui-input"   value="${object.zyqdj}">
            </td>
            <th class="required">IDERA登记</th>
            <td>
                <input type="text" name="idera" id="idera" lay-verify="required" class="layui-input"   value="${object.idera}">
            </td>
        </tr>




        <tr>
            <th class="required">合同金额</th>
            <td>
                <input type="text" name="htMoney" id="htMoney" lay-verify="required" class="layui-input"   value="${object.htMoney}">
            </td>
            <th>合同授权信息</th>
            <td >
                <input type="text" name="ht2htsqxx" id="ht2htsqxx" class="layui-input"  value="${object.ht2htsqxx}">
            </td>
        </tr>

        &lt;%&ndash;附件类&ndash;%&gt;
        <tr>
            <th>电台证</th>
            <td colspan="3">
                <div class="layui-input-inline tdcontent" >
                    <input type="hidden"  id="dtz" name="dtz"  value="${object.dtz}" />
                </div>
            </td>
        </tr>
        <tr>
            <th>适航证</th>
            <td colspan="3">
                <div class="layui-input-inline tdcontent" >
                    <input type="hidden"  id="shz" name="shz"  value="${object.shz}" />
                </div>
            </td>
        </tr>
        <tr>
            <th>国籍证</th>
            <td colspan="3">
                <div class="layui-input-inline tdcontent" >
                    <input type="hidden"  id="gjz" name="gjz"  value="${object.gjz}" />
                </div>
            </td>
        </tr>

        <tr>
            <th>飞机合同</th>
            <td colspan="3">
                <div class="layui-input-inline tdcontent" >
                    <input type="hidden"  id="ht" name="ht"  value="${object.ht}" />
                </div>
            </td>
        </tr>

        <tr>
            <th>飞机批文</th>
            <td colspan="3">
                <div class="layui-input-inline tdcontent" >
                    <input type="hidden"  id="pw" name="pw"  value="${object.pw}" />
                </div>
            </td>
        </tr>
        <tr>
            <th>其他附件</th>
            <td colspan="3">
                <div class="layui-input-inline tdcontent" >
                    <input type="hidden"  id="qtfj" name="qtfj"  value="${object.qtfj}" />
                </div>
            </td>
        </tr>
        <tr>
            <th>办理意见</th>
            <td style="height:100px;" colspan="3">
                <div class="layui-input-block" style="margin-left: 0;">
                    <textarea name="transContents" id="transContents" placeholder="请输入内容" class="layui-textarea">${transContent }</textarea>
                </div>
            </td>
        </tr>
    </table>--%>

    <table class="viewTable" >
        <%--登记页面--%>
        <%--<tr>
            <th class="required">关联计划</th>
            <td >
                <select id="gljh" name="gljh" lay-verify="required" lay-search="">
                    <option value="">--直接选择或搜索选择--</option>
                </select>
                <input type="hidden" id="gljhid" value="${object.gljh}"/>
            </td>

            <th class="required">登记时间</th>
            <td>
                <input type="text" name="djsj" id="djsj" class="layui-input" lay-verify="required" value="${object.djsj}" readonly="readonly">
            </td>
        </tr>

        <tr>
            <th >飞机状态</th>
            <td>
                <select name="airZt" class="layui-input" lay-filter="airZt" id="airZt"   value="${object.airZt}" >
                    <option value="">--请选择--</option>
                    <c:forEach items="${cp:DICTIONARY('AIRZT')}" var="row">
                        <option value="${row.dataCode }" <c:if test="${object.airZt eq row.dataCode }">selected="selected"</c:if> >${row.dataValue }</option>
                    </c:forEach>
                </select>
            </td>

        </tr>
        <tr style="height: 30px;border-bottom: 1px solid #CCC;">

        </tr>--%>
        <tr>
            <th class="required">注册号</th>
            <td>
                <input type="text" name="sign" id="sign" class="layui-input" lay-verify="required|nlength"  value="${object.sign}">
            </td>

            <th class="required">航空器型号</th>
            <td>
                <input type="text" name="airModel" id="airModel" lay-verify="required|nlength" class="layui-input"  value="${object.airModel}">
            </td>

        </tr>
        <tr>
            <%-- <th >登记时间</th>
            <td>
                <input type="text" name="djsj" id="djsj" class="layui-input"  value="${object.djsj}" readonly="readonly">
            </td> --%>
            <th class="required">MSN号</th>
            <td>
                <input type="text" name="ccxlh" id="ccxlh" lay-verify="required|nlength" class="layui-input"  value="${object.ccxlh}">
            </td>
            <th class="required">出厂日期</th>
            <td>
                <input type="text" name="proctionDate" lay-verify="required|nlength" id="proctionDate" class="layui-input"  value="<fmt:formatDate value='${object.proctionDate}' pattern='yyyy-MM-dd'/>">
            </td>

        </tr>
        <tr>

            <th class="required">进苏日期</th>
            <td>
                <input type="text" name="useDate" id="useDate" class="layui-input" lay-verify="required|nlength"  value="<fmt:formatDate value='${object.useDate}' pattern='yyyy-MM-dd'/>">
            </td>
            <th class="required">发动机型号</th>
            <td>
                <input type="text" name="engine" id="engine" class="layui-input"  lay-verify="required|nlength"  value="${object.engine}">
            </td>

        </tr>
        <tr>
            <th>机龄</th>
            <td>
                <input type="text" name="jl" id="jl" readonly style="background: #f0f0f0;" class="layui-input"   value="${object.jl}">

            </td>
            <th >性质</th>
            <td>
                <select name="nature" class="layui-input" lay-filter="nature" id="nature"  value="${object.nature}">
                    <option value="">--请选择--</option>
                    <c:forEach items="${cp:DICTIONARY('AIRXZ')}" var="row">
                        <option value="${row.dataCode }" <c:if test="${object.nature eq row.dataCode }">selected="selected"</c:if> >${row.dataValue }</option>
                    </c:forEach>
                </select>
            </td>
        </tr>
        <tr>
            <th >出租人</th>
            <td>
                <input type="text" name="czr" id="czr" class="layui-input"    value="${object.czr}">

            </td>
            <th >起租日</th>
            <td>
                <input type="text" name="startTime" id="startTime"  class="layui-input"  value="<fmt:formatDate value='${object.startTime}' pattern='yyyy-MM-dd'/>">
            </td>
        </tr>
        <tr>

            <th>退租日</th>
            <td>
                <input type="text" name="endTime" id="endTime"  class="layui-input"  value="<fmt:formatDate value='${object.endTime}' pattern='yyyy-MM-dd'/>">
            </td>

            <th >租期</th>
            <td>
                <input type="text" name="zq" id="zq" class="layui-input"   value="${object.zq}">
            </td>
        </tr>
        <tr>
            <th>是否可提前退租</th>
            <td>
                <input type="radio" name="isTqtz" value="1" title="是" <c:if test="${object.isTqtz=='1'}">checked=""</c:if>>
                <input type="radio" name="isTqtz" value="0" title="否" <c:if test="${object.isTqtz=='0'}">checked=""</c:if>>
            </td>
            <th >是否到期无异议自动续租</th>
            <td>
                <input type="radio" name="isWyyzdxz" value="1" title="是"  <c:if test="${object.isWyyzdxz=='1'}">checked=""</c:if> >
                <input type="radio" name="isWyyzdxz" value="0" title="否"  <c:if test="${object.isWyyzdxz=='0'}">checked=""</c:if> >

            </td>
        </tr>
        <tr>


            <th>最大起飞重量(吨)</th>
            <td>
                <input type="text" name="maxZl" id="maxZl" class="layui-input"    value="${object.maxZl}">
            </td>
            <th>租金币种</th>
            <td>
                <select name="zjbz" class="layui-input" lay-filter="zjbz" id="zjbz"   value="${object.zjbz}" >
                    <option value="">--请选择--</option>
                    <c:forEach items="${cp:DICTIONARY('BZ')}" var="row">
                        <option value="${row.dataCode }" <c:if test="${object.zjbz eq row.dataCode }">selected="selected"</c:if> >${row.dataValue }</option>
                    </c:forEach>
                </select>
            </td>

        </tr>
        <tr>
            <th >租金</th>
            <td>
                <input type="text" name="mqzj" id="mqzj" class="layui-input"   value="${object.mqzj}">
            </td>
            <th >租金支付期间</th>
            <td>
                <select name="zjzfqj" class="layui-input" lay-filter="zjzfqj" id="zjzfqj"   value="${object.zjzfqj}" >
                    <option value="">--请选择--</option>
                    <c:forEach items="${cp:DICTIONARY('ZFQJ')}" var="row">
                        <option value="${row.dataCode }" <c:if test="${object.zjzfqj eq row.dataCode }">selected="selected"</c:if> >${row.dataValue }</option>
                    </c:forEach>
                </select>
                <%-- <input type="text" name="zjzfqj" id="zjzfqj" class="layui-input"   value="${object.zjzfqj}"> --%>
            </td>
        </tr>
        <tr>
            <th>国籍登记证编号</th>
            <td>
                <input type="text" name="gjNo" id="gjNo" class="layui-input"    value="${object.gjNo}">
            </td>
            <th >国籍登记证签发日期</th>
            <td>
                <input type="text" name="gjDate" id="gjDate" class="layui-input"  value="<fmt:formatDate value='${object.gjDate}' pattern='yyyy-MM-dd'/>">
            </td>
        </tr>
        <tr>
            <th >国籍证发给</th>
            <td>
                <input type="text" name="bzfj" id="bzfj" class="layui-input"   value="${object.bzfj}">
            </td>
            <th>所有人名称</th>
            <td>
                <input type="text" name="haveName" id="haveName" class="layui-input"     value="${object.haveName}">
            </td>
        </tr>
        <tr>

            <th >所有人地址</th>
            <td>
                <input type="text" name="haveAddr" id="haveAddr" class="layui-input"   value="${object.haveAddr}">
            </td>

            <th >选择呼叫代码</th>
            <td>
                <input type="text" name="hjNo" id="hjNo" class="layui-input"     value="${object.hjNo}">
            </td>
        </tr>
        <tr>
            <th >标准适航证编号</th>
            <td>
                <input type="text" name="shNo" id="shNo" class="layui-input"     value="${object.shNo}">
            </td>
            <th >标准适航证签发日期</th>
            <td>
                <input type="text" name="qfDate" id="qfDate" class="layui-input"  value="<fmt:formatDate value='${object.qfDate}' pattern='yyyy-MM-dd'/>">
            </td>
        </tr>
        <tr>
            <th >航空器地址编码（S模式）HEX</th>
            <td>
                <input type="text" name="addrNoHex" id="addrNoHex" class="layui-input"   value="${object.addrNoHex}">
            </td>
            <th >航空器地址编码（S模式）OCT</th>
            <td>
                <input type="text" name="addrNoOct" id="addrNoOct" class="layui-input"   value="${object.addrNoOct}">
            </td>
        </tr>
        <tr>

            <th>电台执照序号</th>
            <td>
                <input type="text" name="dtNo" id="dtNo" class="layui-input"     value="${object.dtNo}">
            </td>
            <th >电台执照颁发日期</th>
            <td>
                <input type="text" name="dtbfDate" id="dtbfDate" class="layui-input"  value="<fmt:formatDate value='${object.dtbfDate}' pattern='yyyy-MM-dd'/>">
            </td>
        </tr>
        <tr>
            <th >电台执照有效期限至</th>
            <td style="pointer-events: none">
                <input type="text" name="dtyxDate" id="dtyxDate"  style="background: #f0f0f0;" class="layui-input"   value="<fmt:formatDate value='${object.dtyxDate}' pattern='yyyy-MM-dd'/>">
            </td>

            <th >电台执照监控报警日期</th>
            <td style="pointer-events: none">
                <input type="text" name="dtzzjkbjrq" id="dtzzjkbjrq"  style="background: #f0f0f0;" class="layui-input"   value="<fmt:formatDate value='${object.dtzzjkbjrq}' pattern='yyyy-MM-dd'/>">
            </td>

        </tr>

        <tr style="height: 30px;border-bottom: 1px solid #CCC;">

        </tr>
        <tr>
            <th>已有飞行小时N2</th>
            <td>
                <input type="text" name="yyfxxs" id="yyfxxs" class="layui-input"    value="${object.yyfxxs}">

            </td>
            <th>剩余飞行小时</th>
            <td>
                <input type="text" name="syfxxs" id="syfxxs" style="background: #f0f0f0;" class="layui-input" readonly  value="${object.syfxxs}">

            </td>
        </tr>
        <tr>
            <th>利用率=B小时/天</th>
            <td>
                <input type="text" name="lyl" id="lyl" class="layui-input"   value="${object.lyl}">
            </td>
            <th>DSG到期日</th>
            <td>
                <input type="text" name="dsgDqr" id="dsgDqr" style="background: #f0f0f0;"  class="layui-input"  value="<fmt:formatDate value='${object.dsgDqr}' pattern='yyyy-MM-dd'/>">
            </td>
        </tr>
        <tr>
            <th>机身最近大修开始时间Q</th>
            <td>
                <input type="text" name="dxkssjQ" id="dxkssjQ"  class="layui-input"  value="<fmt:formatDate value='${object.dxkssjQ}' pattern='yyyy-MM-dd'/>">
            </td>
            <th>最近一次大修任务名称</th>
            <td >
                <input type="text" name="zjycdxrwmc" id="zjycdxrwmc" class="layui-input"    value="${object.zjycdxrwmc}">
            </td>

        </tr>
        <tr>
            <th>机身预期下一次大修开始时间Q1</th>
            <td style="pointer-events: none">
                <input type="text" name="dxksslQ1" id="dxksslQ1" style="background: #f0f0f0;"  class="layui-input"  value="<fmt:formatDate value='${object.dxksslQ1}' pattern='yyyy-MM-dd'/>">
            </td>
            <th>机身预期再下一次大修开始时间Q2</th>
            <td style="pointer-events: none">
                <input type="text" name="dxkssjQ2" id="dxkssjQ2" style="background: #f0f0f0;" class="layui-input"  value="<fmt:formatDate value='${object.dxkssjQ2}' pattern='yyyy-MM-dd'/>">
            </td>
        </tr>
        <tr>

            <th>机身计划大修下一次开始时间T</th>
            <td>
                <input type="text" name="jhdxxyckssjT" id="jhdxxyckssjT"  class="layui-input"  value="<fmt:formatDate value='${object.jhdxxyckssjT}' pattern='yyyy-MM-dd'/>">
            </td>
            <th>计划修任务名称</th>
            <td >
                <select name="jhxrwmc" class="layui-input" lay-filter="jhxrwmc" id="jhxrwmc" lay-verify="required"   value="${object.jhxrwmc}" >
                    <option value="">--请选择--</option>
                    <c:forEach items="${cp:DICTIONARY('JHXRWMC')}" var="row">
                        <option value="${row.dataCode }" <c:if test="${object.jhxrwmc eq row.dataCode }">selected="selected"</c:if> >${row.dataValue }</option>
                    </c:forEach>
                </select>
            </td>

        </tr>

        <tr>
            <th>退租时发动机序列号1</th>
            <td>
                <input type="text" name="tzsfdjxlh1" id="tzsfdjxlh1" class="layui-input"  value="${object.tzsfdjxlh1}">
            </td>
            <th>发动机1状态</th>
            <td>
                <input type="text" name="fdjzt1" id="fdjzt1" class="layui-input"  value="${object.fdjzt1}">
            </td>
        </tr>
        <tr>
            <th>退租时发动机序列号2</th>
            <td>
                <input type="text" name="tzsfdjxlh2" id="tzsfdjxlh2" class="layui-input"  value="${object.tzsfdjxlh2}">
            </td>
            <th>发动机2状态</th>
            <td>
                <input type="text" name="fdjzt2" id="fdjzt2" class="layui-input"  value="${object.fdjzt2}">
            </td>
        </tr>
        <tr>
            <th>退租日期前半年内计划大修</th>
            <td>
                <input type="text" name="tzrqqbnnjhdx" id="tzrqqbnnjhdx" readonly style="background: #f0f0f0;" class="layui-input"   value="${object.tzrqqbnnjhdx}">

            </td>
            <th>退租日期前半年内预期大修</th>
            <td>
                <input type="text" name="tzrqqbnnyqdx" id="tzrqqbnnyqdx"  readonly style="background: #f0f0f0;" class="layui-input"  value="${object.tzrqqbnnyqdx}">

            </td>
        </tr>


        <tr style="height: 30px;border-bottom: 1px solid #CCC;">

        </tr>


        <tr>
            <th >Engine serie</th>
            <td>
                <input type="text" name="engineS" id="engineS" class="layui-input"   value="${object.engineS}">
            </td>
            <th >注销日期</th>
            <td>
                <input type="text" name="offDate" id="offDate" class="layui-input"  value="<fmt:formatDate value='${object.offDate}' pattern='yyyy-MM-dd'/>">
            </td>
        </tr>




        <tr>
            <th >飞机原值</th>
            <td>
                <input type="text" name="fjyz" id="fjyz" class="layui-input"   value="${object.fjyz}">
            </td>
            <th >飞机残值</th>
            <td>
                <input type="text" name="fjcz" id="fjcz" class="layui-input"   value="${object.fjcz}">
            </td>
        </tr>

        <tr>
            <th >保险信息</th>
            <td>
                <input type="text" name="bxxx" id="bxxx" class="layui-input"   value="${object.bxxx}">
            </td>
            <th>航空器制造厂商</th>
            <td>
                <input type="text" name="airZzs" id="airZzs" class="layui-input"    value="${object.airZzs}">
            </td>

        </tr>






        <tr>
            <th >1st engine SN（出厂序号）</th>
            <td>
                <input type="text" name="oneSn" id="oneSn" class="layui-input"   value="${object.oneSn}">
            </td>
            <th >2nd engine SN（出厂序号）</th>
            <td>
                <input type="text" name="twoSn" id="twoSn" class="layui-input"  value="${object.twoSn}">
            </td>
        </tr>



        <tr>
            <th >运营人</th>
            <td>
                <input type="text" name="yyName" id="yyName" class="layui-input"   value="${object.yyName}">
            </td>
            <th >运营人地址</th>
            <td>
                <input type="text" name="yyAddr" id="yyAddr" class="layui-input"   value="${object.yyAddr}">
            </td>
        </tr>

        <tr>
            <th >注册号</th>
            <td colspan="3">
                <input type="text" name="zch" id="zch" class="layui-input"  value="${object.zch}">
            </td>
        </tr>
        <tr>
            <th >东航机队号/FSN</th>
            <td>
                <input type="text" name="fsn" id="fsn" class="layui-input"  value="${object.fsn}">
            </td>
            <th >APU型号</th>
            <td>
                <input type="text" name="apu" id="apu" class="layui-input"  value="${object.apu}">
            </td>


        </tr>


        <tr>
            <th >加入运归日期</th>
            <td>
                <input type="text" name="jrygrq" id="jrygrq" class="layui-input"  value="<fmt:formatDate value='${object.jrygrq}' pattern='yyyy-MM-dd'/>">
            </td>
            <th >退出运规日期</th>
            <td>
                <input type="text" name="tcygrq" id="tcygrq" class="layui-input"  value="<fmt:formatDate value='${object.tcygrq}' pattern='yyyy-MM-dd'/>">
            </td>
        </tr>



        <tr>
            <th >HUD</th>
            <td>
                <input type="text" name="hud" id="hud" class="layui-input"   value="${object.hud}">
            </td>
            <th >WIFI</th>
            <td>
                <input type="text" name="wifi" id="wifi" class="layui-input"  value="${object.wifi}">
            </td>
        </tr>



        <tr>
            <th >座位布局</th>
            <td colspan="3">
                <input type="text" name="zwbj" id="zwbj" class="layui-input"   value="${object.zwbj}">
            </td>

        </tr>

        <%--财务维护页面--%>
        <tr>
            <th>占有权登记</th>
            <td>
                <input type="text" name="zyqdj" id="zyqdj"  class="layui-input"   value="${object.zyqdj}">
            </td>
            <th>IDERA登记</th>
            <td>
                <input type="text" name="idera" id="idera"  class="layui-input"   value="${object.idera}">
            </td>
        </tr>




        <tr>
            <th>合同金额</th>
            <td>
                <input type="text" name="htMoney" id="htMoney"  class="layui-input"   value="${object.htMoney}">
            </td>
            <th>合同授权信息</th>
            <td >
                <input type="text" name="ht2htsqxx" id="ht2htsqxx" class="layui-input"  value="${object.ht2htsqxx}">
            </td>
        </tr>

        <%--附件类--%>
        <tr>
            <th>电台证</th>
            <td colspan="3">
                <div class="layui-input-inline tdcontent" >
                    <input type="hidden"  id="dtz" name="dtz"  value="${object.dtz}" />
                </div>
            </td>
        </tr>
        <tr>
            <th>适航证</th>
            <td colspan="3">
                <div class="layui-input-inline tdcontent" >
                    <input type="hidden"  id="shz" name="shz"  value="${object.shz}" />
                </div>
            </td>
        </tr>
        <tr>
            <th>国籍证</th>
            <td colspan="3">
                <div class="layui-input-inline tdcontent" >
                    <input type="hidden"  id="gjz" name="gjz"  value="${object.gjz}" />
                </div>
            </td>
        </tr>

        <tr>
            <th>飞机合同</th>
            <td colspan="3">
                <div class="layui-input-inline tdcontent" >
                    <input type="hidden"  id="ht" name="ht"  value="${object.ht}" />
                </div>
            </td>
        </tr>

        <tr>
            <th>飞机批文</th>
            <td colspan="3">
                <div class="layui-input-inline tdcontent" >
                    <input type="hidden"  id="pw" name="pw"  value="${object.pw}" />
                </div>
            </td>
        </tr>
        <tr>
            <th>其他附件</th>
            <td colspan="3">
                <div class="layui-input-inline tdcontent" >
                    <input type="hidden"  id="qtfj" name="qtfj"  value="${object.qtfj}" />
                </div>
            </td>
        </tr>
        <tr>
            <th>办理意见</th>
            <td style="height:100px;" colspan="3">
                <div class="layui-input-block" style="margin-left: 0;">
                    <textarea name="transContents" id="transContents" placeholder="请输入内容" class="layui-textarea">${transContent }</textarea>
                </div>
            </td>
        </tr>
    </table>

    <div style="text-align: center; margin-top: 20px">
        <%--<button class="layui-btn" lay-submit="" lay-filter="formSubmit" id="send">发送</button>--%>
        <%--<button class="layui-btn" lay-submit="" lay-filter="saveSubmit">保存</button>--%>
        <button class="layui-btn layui-btn-primary" onclick="CloseWin()">关闭</button>
    </div>
</form>
<script>
    var basePath= "${pageContext.request.contextPath}";
</script>

<script type="text/javascript">
    window.UploaderPath='${cp:SYS_VALUE("uploaderpath")}/';
    index = setInterval(setUpload, '1000');
    function setUpload() {
        try {
            if (typeof $('#pw', null).uploader === "function") {
                clearInterval(index);
                $('#pw', null).uploader({
                    UploaderPath: window.UploaderPath,
                    ViewContextPath: window.UploaderPath,
                    info: {
                        optId: 'applyAdd'
                    }
                });
            } else {

            }
        } catch (e) {
        }
        try {
            if (typeof $('#ht', null).uploader === "function") {
                clearInterval(index);
                $('#ht', null).uploader({
                    UploaderPath: window.UploaderPath,
                    ViewContextPath: window.UploaderPath,
                    info: {
                        optId: 'applyAdd'
                    }
                });
            } else {

            }
        } catch (e) {
        }


        try {
            if (typeof $('#dtz', null).uploader === "function") {
                clearInterval(index);
                $('#dtz', null).uploader({
                    UploaderPath: window.UploaderPath,
                    ViewContextPath: window.UploaderPath,
                    info: {
                        optId: 'applyAdd'
                    }
                });
            } else {

            }
        } catch (e) {
        }
        try {
            if (typeof $('#shz', null).uploader === "function") {
                clearInterval(index);
                $('#shz', null).uploader({
                    UploaderPath: window.UploaderPath,
                    ViewContextPath: window.UploaderPath,
                    info: {
                        optId: 'applyAdd'
                    }
                });
            } else {

            }
        } catch (e) {
        }
        try {
            if (typeof $('#gjz', null).uploader === "function") {
                clearInterval(index);
                $('#gjz', null).uploader({
                    UploaderPath: window.UploaderPath,
                    ViewContextPath: window.UploaderPath,
                    info: {
                        optId: 'applyAdd'
                    }
                });
            } else {

            }
        } catch (e) {
        }
        try {
            if (typeof $('#qtfj', null).uploader === "function") {
                clearInterval(index);
                $('#qtfj', null).uploader({
                    UploaderPath: window.UploaderPath,
                    ViewContextPath: window.UploaderPath,
                    info: {
                        optId: 'applyAdd'
                    }
                });
            } else {

            }
        } catch (e) {
        }
    }

    function additem(id, name, valueName, valueCode) {
        $('input[id^=' + valueCode + ']').val(id);
        $('input[id^=' + valueName + ']').val(name);

        var recId=$("#recId").val();
        $("#status").val("1");
        if(recId==null||typeof(recId)=='undefined'||recId==''){
            recId='0';
        }
        $.ajax({
            type: "PUT",
            url: basePath+'/service/airplanebaseinfo/airplanebaseinfo/'+recId,
            data: $("#airplanForm").serialize(),
            async:false,
            dataType: "json",
            success: function(data){
                if(data.code=='0'){
                    layer.msg("操作成功", {icon: 1});
                    parent.location.reload();
                } else {
                    layer.msg("操作失败", {icon: 0});
                }
            }
        });
    };
</script>
</body>
</html>
